{
	std::ifstream obj ("test.obj");
	
	std::string id;
	
	float tempX, tempY, tempZ;
	
	while(obj >> id)
	{
		if (id == "v")
		{
			obj >> tempX >> tempY >> tempZ;
			std::cout << tempX << " " << tempY << " " << tempZ << std::endl;
			//object->vertices.push_back(new Vector3f(tempX, tempY, tempZ));
		}
		else if (id == "vn")
		{
			obj >> tempX >> tempY >> tempZ;
			std::cout << tempX << " " << tempY << " " << tempZ << std::endl;
			//object->vertexNormals.push_back(new Vector3f(tempX, tempY, tempZ));
		}
		else if(id == "vt")
		{
			obj >> tempX >> tempY >> tempZ;
			std::cout << tempX << " " << tempY << " " << tempZ << std::endl;
			//object->textureVs.push_back(new Vector3f(tempX, tempY, tempZ));
		}
		else if (id == "f")
		{
			obj.ignore();

			int readTemp;
			int currentTemp = 0;
			char slashCheck;

			readTemp = obj.get();

			//First element
			while(readTemp != 47)
			{
				currentTemp *= 10;

				readTemp -= 48;

				currentTemp += readTemp;

				readTemp = obj.get();
				std::cout << currentTemp << std::endl;
				//object->face.back()->vertices.push_back(object->vertices[temp - 1]);
			}
			//Second element
			currentTemp = 0;

			readTemp = obj.get();

			while(readTemp != 47)
			{
				currentTemp *= 10;

				readTemp -= 48;

				currentTemp += readTemp;

				readTemp = obj.get();
				std::cout << currentTemp << std::endl;
				
				//object->face.back()->textureVs.push_back(object->textureVs[temp- 1]);
			}

			//Third element.
			currentTemp = 0;

			readTemp = obj.get();

			while(readTemp - 48 > 0)
			{
				currentTemp *= 10;

				readTemp -= 48;

				currentTemp += readTemp;

				readTemp = obj.get();
				std::cout << currentTemp << std::endl;
				
				//object->face.back()->vertexNormals.push_back(object->vertexNormals[temp - 1]);
			}
		}
		else
		{
			//obj.getline(id);
		}
		
	}

	obj.close();
}